package com.axonactive.yolo.service.internal;

import java.util.List;

import com.axonactive.yolo.domain.FlightNotification;
import com.axonactive.yolo.domain.TaskNotification;
import com.axonactive.yolo.dto.TaskNotificationDTO;
import com.axonactive.yolo.exception.TaskNotificationNotFoundException;

public interface TaskNotificationService {
	
	public List<TaskNotification> findByUserIdAndStatus(int userId, int status);

	public List<TaskNotification> findByUserId(int userId);

	public List<TaskNotification> findByTaskId(String taskId);
	
	public TaskNotification findByTaskIdAndUserId(String taskId, int userId);
	
	public TaskNotification findById(int id);
	
	public List<TaskNotificationDTO> convertFromTaskNotification(List<TaskNotification> taskNotifications);
	
	public TaskNotification create(TaskNotification taskNotification);
	
	public boolean update(TaskNotification taskNotification) throws TaskNotificationNotFoundException;
	
	public boolean delete(int id) throws TaskNotificationNotFoundException;

}
